SUBDIRS = icons

@INTLTOOL_DESKTOP_RULE@

desktop_in_data=gftp2.desktop.in
desktop_DATA=$(desktop_in_data:.desktop.in=.desktop)
desktopdir=$(datadir)/applications

CLEANFILES=$(desktop_DATA)

gladedir = $(pkgdatadir)
glade_DATA = bmeditor.ui bmeditor.glade preference-dialog.glade \
	preference-dialog.ui menu.ui gftprc2.sample bookmarks.xml

icondir = $(datadir)/icons
icon_DATA = gftp2.png

EXTRA_DIST = bmeditor.glade preference-dialog.glade menu.ui \
	 gftprc2.sample bookmarks.xml gftp2.png \
	bmeditor.ui preference-dialog.ui gftp2.desktop.in

preference-dialog.ui: preference-dialog.glade
	gtk-builder-convert $^ $@

bmeditor.ui: bmeditor.glade
	gtk-builder-convert $^ $@
